* Tabelas do Artigo
*tempo de conclus�o Ok
reg lntempo acquirerbank lnvalor capitalestrangeiro setorsic  lnexpgeral lnexpsembanco allstock allcash  i.formofthedeal  i.yr i.industry if Public==1 & lntempo>0, vce(cluster industry_year)
outreg2 using tempo.doc, replace dec(3)  keep( acquirerbank lnvalor capitalestrangeiro setorsic  lnexpgeral lnexpsembanco allstock allcash lnata)   addtext(Ind�stria FE, Sim, Ano FE, Sim, )
reg lntempo acquirerbank lnvalor capitalestrangeiro setorsic  lnexpgeral lnexpsembanco allstock allcash lnata  i.formofthedeal  i.yr i.industry if Public==1 & lntempo>0, vce(cluster industry_year)
outreg2 using tempo.doc, dec(3) keep( acquirerbank lnvalor capitalestrangeiro setorsic  lnexpgeral lnexpsembanco allstock allcash lnata)   addtext(Ind�stria FE, Sim, Ano FE, Sim, )
reg lntempo toptierf lnvalor capitalestrangeiro setorsic  lnexpgeral lnexpsembanco allstock allcash   i.formofthedeal  i.yr i.industry if Public==1 & lntempo>0, vce(cluster industry_year)
outreg2 using tempo.doc, dec(3) keep( toptierf  lnvalor capitalestrangeiro setorsic  lnexpgeral lnexpsembanco allstock allcash lnata)   addtext(Ind�stria FE, Sim, Ano FE, Sim, )
reg lntempo toptierf lnvalor capitalestrangeiro setorsic  lnexpgeral lnexpsembanco allstock allcash lnata  i.formofthedeal  i.yr i.industry if Public==1 & lntempo>0, vce(cluster industry_year)
outreg2 using tempo.doc, dec(3) keep( toptierf  lnvalor capitalestrangeiro setorsic  lnexpgeral lnexpsembanco allstock allcash lnata)   addtext(Ind�stria FE, Sim, Ano FE, Sim, )
reg lntempo toptierbr lnvalor capitalestrangeiro setorsic  lnexpgeral lnexpsembanco allstock allcash   i.formofthedeal  i.yr i.industry if Public==1 & lntempo>0, vce(cluster industry_year)
outreg2 using tempo.doc, dec(3) keep( toptierbr lnvalor capitalestrangeiro setorsic  lnexpgeral lnexpsembanco allstock allcash lnata)  addtext(Ind�stria FE, Sim, Ano FE, Sim, )
reg lntempo toptierbr lnvalor capitalestrangeiro setorsic  lnexpgeral lnexpsembanco allstock allcash lnata  i.formofthedeal  i.yr i.industry if Public==1 & lntempo>0, vce(cluster industry_year)
outreg2 using tempo.doc, dec(3) keep( toptierbr lnvalor capitalestrangeiro setorsic  lnexpgeral lnexpsembanco allstock allcash lnata)   addtext(Ind�stria FE, Sim, Ano FE, Sim, )
reg lntempo toptierestrangeiro lnvalor capitalestrangeiro setorsic  lnexpgeral lnexpsembanco allstock allcash   i.formofthedeal  i.yr i.industry if Public==1 & lntempo>0, vce(cluster industry_year)
outreg2 using tempo.doc, dec(3) keep( toptierestrangeiro  setorsic lnvalor capitalestrangeiro lnexpgeral lnexpsembanco allstock allcash lnata)   addtext(Ind�stria FE, Sim, Ano FE, Sim, )
reg lntempo toptierestrangeiro lnvalor capitalestrangeiro setorsic  lnexpgeral lnexpsembanco allstock allcash lnata  i.formofthedeal  i.yr i.industry if Public==1 & lntempo>0, vce(cluster industry_year)
outreg2 using tempo.doc, dec(3) keep( toptierestrangeiro setorsic  lnvalor capitalestrangeiro lnexpgeral lnexpsembanco allstock allcash lnata)   addtext(Ind�stria FE, Sim, Ano FE, Sim, )

* Tabela 5 conclus�o OK
logit completo acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash i.formofthedeal  i.yrannoun i.industry , r
estat class
lroc 
margins, dydx(*) atmeans post
outreg2 using completo6.doc, replace dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash lnata) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit completo acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash i.formofthedeal  i.yrannoun i.industry if aberta==1 , r
estat class
lroc 
qui margins, dydx(*) atmeans post
outreg2 using completo6.doc, dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral  lnexpsembanco allstock allcash lnata ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit completo acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash i.formofthedeal  i.yrannoun i.industry if aberta==0 , r
estat class
lroc 
qui margins, dydx(*) atmeans post
outreg2 using completo6.doc, dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral  lnexpsembanco allstock allcash lnata ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit completo acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock  allcash lnata i.formofthedeal  i.yrannoun i.industry , r
estat class
lroc 
qui margins, dydx(*) atmeans post
outreg2 using completo6.doc, dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral  lnexpsembanco allstock allcash lnata ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit completo acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock  allcash lnata i.formofthedeal  i.yrannoun i.industry if aberta==1 , r
estat class
lroc 
qui margins, dydx(*) atmeans post
outreg2 using completo6.doc, dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash lnata  ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit completo acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock  allcash lnata i.formofthedeal  i.yrannoun i.industry if aberta==0 , r
estat class
lroc 
margins, dydx(*) atmeans post
outreg2 using completo6.doc, dec(3)  keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash lnata ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )

//Tabela 6 toptier OK
logit completo toptierf lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash i.formofthedeal  i.yrannoun i.industry , r
estat class
lroc 
margins, dydx(*) atmeans post
outreg2 using completo7.doc, replace dec(3) keep(toptierf lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash lnata) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit completo toptierf lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash i.formofthedeal  i.yrannoun i.industry if aberta==1 , r
estat class
lroc 
qui margins, dydx(*) atmeans post
outreg2 using completo7.doc, dec(3) keep(toptierf lnvalor capitalestrangeiro setorsic lnexpgeral  lnexpsembanco allstock allcash lnata ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit completo toptierf lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash i.formofthedeal  i.yrannoun i.industry if aberta==0 , r
estat class
lroc 
qui margins, dydx(*) atmeans post
outreg2 using completo7.doc, dec(3) keep(toptierf lnvalor capitalestrangeiro setorsic lnexpgeral  lnexpsembanco allstock allcash lnata ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit completo toptierf lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock  allcash lnata i.formofthedeal  i.yrannoun i.industry , r
estat class
lroc 
qui margins, dydx(*) atmeans post
outreg2 using completo7.doc, dec(3) keep(toptierf lnvalor capitalestrangeiro setorsic lnexpgeral  lnexpsembanco allstock allcash lnata ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit completo toptierf lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock  allcash lnata i.formofthedeal  i.yrannoun i.industry if aberta==1 , r
estat class
lroc 
qui margins, dydx(*) atmeans post
outreg2 using completo7.doc, dec(3) keep(toptierf lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash lnata  ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )

*Tabela 6 OK Determinantes da escolha por banco
logit acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash i.formofthedeal  i.yr i.industry , r cluster(industry)
estat class
lroc 
margins, dydx(*) atmeans post
outreg2 using bank4.doc, replace dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash i.formofthedeal  i.yr i.industry if aberta==1, r
estat class
lroc 
margins, dydx(*) atmeans post
outreg2 using bank4.doc, dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash i.formofthedeal  i.yr i.industry if aberta==0, r
estat class
lroc 
margins, dydx(*) atmeans post
outreg2 using bank4.doc, dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral   lnexpsembanco allstock allcash lnata i.formofthedeal  i.yr i.industry , r
estat class
lroc 
margins, dydx(*) atmeans post
outreg2 using bank4.doc, dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash lnata  ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash lnata  i.formofthedeal  i.yr i.industry if aberta==1, r
estat class
lroc 
margins, dydx(*) atmeans post
outreg2 using bank4.doc, dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash lnata ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )


//Tabela 7 OK toptier
logit toptierf lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash i.formofthedeal  i.yr i.industry , r
estat class
lroc 
margins, dydx(*) atmeans post
outreg2 using bank5.doc, replace dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit toptierf lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash i.formofthedeal  i.yr i.industry if aberta==1, r
estat class
lroc 
margins, dydx(*) atmeans post
outreg2 using bank5.doc, dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit toptierf lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash i.formofthedeal  i.yr i.industry if aberta==0, r
estat class
lroc 
margins, dydx(*) atmeans post
outreg2 using bank5.doc, dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit toptierf lnvalor capitalestrangeiro setorsic lnexpgeral   lnexpsembanco allstock allcash lnata i.formofthedeal  i.yr i.industry , r
estat class
lroc 
margins, dydx(*) atmeans post
outreg2 using bank5.doc, dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash lnata  ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit toptierf lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash lnata  i.formofthedeal  i.yr i.industry if aberta==1, r
estat class
lroc 
margins, dydx(*) atmeans post
outreg2 using bank5.doc, dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash lnata ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )


//toptierbr
logit toptierbr lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash i.formofthedeal  i.yr i.industry , r
estat class
lroc 
margins, dydx(*) atmeans post
outreg2 using bank6.doc, replace dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit toptierbr lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash i.formofthedeal  i.yr i.industry if aberta==1, r
estat class
lroc 
margins, dydx(*) atmeans post
outreg2 using bank6.doc, dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit toptierbr lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash i.formofthedeal  i.yr i.industry if aberta==0, r
estat class
lroc 
margins, dydx(*) atmeans post
outreg2 using bank6.doc, dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit toptierbr lnvalor capitalestrangeiro setorsic lnexpgeral   lnexpsembanco allstock allcash lnata i.formofthedeal  i.yr i.industry , r
estat class
lroc 
margins, dydx(*) atmeans post
outreg2 using bank6.doc, dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash lnata  ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )
logit toptierbr lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash lnata  i.formofthedeal  i.yr i.industry if aberta==1, r
estat class
lroc 
margins, dydx(*) atmeans post
outreg2 using bank6.doc, dec(3) keep(acquirerbank lnvalor capitalestrangeiro setorsic lnexpgeral lnexpsembanco allstock allcash lnata ) addtext(Ind�stria FE, Sim, Ano FE, Sim, )



*Estat�stica descritiva
sum DealValue completo aberta tempo capitalestrangeiro  setorsic expgeral expsembanco mixeddeals allcash allstock acquirerbank  if DealValue != .
logout, save(survivor) replace word excel tex: pwcorr lntempo acquirerbank lnvalor capitalestrangeiro setorsic  lnexpgeral lnexpsembanco allstock allcash lnata toptierf toptierbr
